home *** CD-ROM | disk | FTP | other *** search
- 1. Yes
- 2. Yes, but I couldn't tell you how off the top O my head, it is contained in
- the IFF header chunk at the start of the file. Load an IFFwith a text editor
- and take a look.
- 3. You could calculate the size of the picture by multiplying the width,
- height and depth, then open a screen with those dimensions, AMOS
- allows you to open a screen larger than the displayable area. You can
- then use Screen Offset to position yourself on the screen, or just use Read
- pIxel or whatever.
-
- Hope it helps a smidgeon. -Jedon
-
- >>> Shinobi <Shinobi@ckbbs.tor.hookup.net> 12/27/94 12:41pm >>>
- For my particle engine, I'd like to add the ability for a user to load a
- 2-colour IFF of any size. Then, the program would randomly (or
- not-so-randomly) set the particle positions where the pixels of the IFF are
- not set to colour 0 (Black).
-
- 1) Can I do it?
- 2) Can I get from a file the resolution of an IFF, colour depth, etc.
- 3) How do I read the IFF into the computer if the resolution is greater than
- the displayable screen (one pixel at a time)?
-
- Thanks for lending me your neurons!
-
- Paul
-
- -- Via DLG Pro v1.0
-
- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
- | Paul Fine Lines Publications |
- * Thompson CGI Animations Multimedia *
- | Shinobi@ckbbs.tor.hookup.net |
- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-
-
-
-